package com.baozi.product.repository;

import com.baozi.product.entity.product;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @author baozi
 */
public interface ProductRepository extends JpaRepository<product,String> {

    List<product> findByProductStatus(Integer status);

    List<product> findByProductIdIn(List<String> ids);

}
